package com.zgzg.shop.pay.base.utils;

import java.util.Formatter;

/**
 * @Description: MsgUtil
 * @Author: qiuyu
 * @Date: 2021/9/9
 **/
public class MsgUtil {


    public static String build(String msg, Object... objects) {
        return new Formatter().format(msg.replaceAll("\\{}", "%s"), objects).toString();
    }

}
